package com.huanghuai.retail.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.huanghuai.retail.entity.POGoods;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class PoGoodsDto extends POGoods {
    //商品名称
    private String shopName;

    //商品类别
    private String shopType;

    //商品规格
    private String specs;

    //商品单价
    private String shopPrice;

    private String wrap;

    //库存数量
    private  Integer InventoryNumber;

    /**
     * 单据编号
     */
    private String billNum;

    /**
     * 仓库名称
     */
    private String repName;

    /**
     * 出入库时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;

    /**
     * 单据类型
     */
    private String billName;
}
